/*!
 @file MujiMediaAssetLoaderDelegate.h
 @framework ECCoreLibrary

 @author Created by Matt Austin on 11/13/14.
 @copyright Copyright (c) 2014 EnglishCentral, Inc. All rights reserved.
*/

#import <AVFoundation/AVFoundation.h>
#import "MujiPlayerObserverDelegate.h"

@class MujiMediaAssetLoader;
@class MujiMediaLoadRequest;
@class MujiPlayerObserver;

/*!
 @protocol MujiMediaAssetLoaderDelegate
 */
@protocol MujiMediaAssetLoaderDelegate <MujiPlayerObserverDelegate>
@optional

- (void)mediaAssetLoader:(MujiMediaAssetLoader *)loader completedDownloadOfMediaLoadRequest:(MujiMediaLoadRequest *)mediaLoadRequest;

- (void)mediaAssetLoader:(MujiMediaAssetLoader *)loader failedLoadingWithError:(NSError *)error;

- (void)mediaAssetLoader:(MujiMediaAssetLoader *)loader player:(AVPlayer *)player statusChange:(NSDictionary *)statusChange;

- (void)mediaAssetLoader:(MujiMediaAssetLoader *)loader player:(AVPlayer *)player rateChange:(NSDictionary *)rateChange;

@end


